package com.wn26.bean;

public class Goods {
	private Integer goods_id;
	private String goods_name;
	private Integer category_id;
	private double goods_price;
	private Integer goods_sell_num;
	private Integer goods_store_num;
	private String goods_image_path;
	public Integer getGoods_id() {
		return goods_id;
	}
	public void setGoods_id(Integer goods_id) {
		this.goods_id = goods_id;
	}
	public String getGoods_name() {
		return goods_name;
	}
	public void setGoods_name(String goods_name) {
		this.goods_name = goods_name;
	}
	public Integer getCategory_id() {
		return category_id;
	}
	public void setCategory_id(Integer category_id) {
		this.category_id = category_id;
	}
	public double getGoods_price() {
		return goods_price;
	}
	public void setGoods_price(double goods_price) {
		this.goods_price = goods_price;
	}
	public Integer getGoods_sell_num() {
		return goods_sell_num;
	}
	public void setGoods_sell_num(Integer goods_sell_num) {
		this.goods_sell_num = goods_sell_num;
	}
	public Integer getGoods_store_num() {
		return goods_store_num;
	}
	public void setGoods_store_num(Integer goods_store_num) {
		this.goods_store_num = goods_store_num;
	}
	public String getGoods_image_path() {
		return goods_image_path;
	}
	public void setGoods_image_path(String goods_image_path) {
		this.goods_image_path = goods_image_path;
	}
	public Goods(Integer goods_id, String goods_name, Integer category_id, double goods_price, Integer goods_sell_num,
			Integer goods_store_num, String goods_image_path) {
		super();
		this.goods_id = goods_id;
		this.goods_name = goods_name;
		this.category_id = category_id;
		this.goods_price = goods_price;
		this.goods_sell_num = goods_sell_num;
		this.goods_store_num = goods_store_num;
		this.goods_image_path = goods_image_path;
	}
	public Goods() {
		super();
		// TODO Auto-generated constructor stub
	}
	public Goods(String goods_name, Integer category_id, double goods_price, Integer goods_sell_num,
			Integer goods_store_num, String goods_image_path) {
		this(0,goods_name,category_id,goods_price,goods_sell_num,goods_store_num,goods_image_path);
	}
	@Override
	public String toString() {
		return "Goods [goods_id=" + goods_id + ", goods_name=" + goods_name + ", category_id=" + category_id
				+ ", goods_price=" + goods_price + ", goods_sell_num=" + goods_sell_num + ", goods_store_num="
				+ goods_store_num + ", goods_image_path=" + goods_image_path + "]";
	}
}
